package {
	import com.anotherflexdev.ui.preloaders.VerticalCurtainPreloader;
	
	import flash.text.TextField;
	import flash.text.TextFormat;

	public class LabeledPreloader extends VerticalCurtainPreloader {

		override protected function drawBorders():void {
			super.drawBorders();
			var textField:TextField = new TextField;
			var textFormat:TextFormat = new TextFormat("Verdana", 12, 0x018CFB, true, true);
			textField.defaultTextFormat = textFormat;
			textField.htmlText = "<font color='#000000'>Powered by</font> Techpundits";
			textField.width = 190
			textField.x = this.bottomCurtain.width - 200;
			textField.y = 30;
			this.bottomCurtain.addChild(textField);
		}
		
	}
}